<include file="Public:header" />
<link rel="stylesheet" href="__CSSURL__/uploadify.css"/>
<script type="text/javascript" src="__JSURL__/jquery.uploadify-3.1.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $('#file_upload').uploadify({
            'swf' : '__SWFURL__/uploadify.swf',
            'uploader':'__URL__/ajaxUpload',
            'fileObjName':'up_file',
            'fileTypeExts':'*.*',
            'buttonText':'选择Excel'
        });
    });
</script>
<div class="alert alert-info">
    Excel导入工人信息
</div>
<style type="text/css">
    blockquote {
        background:#F4F8FA;
        width:90%;
        margin:0 auto;
        color:#666;
    }
</style>
<blockquote><br />excel导入注意事项：<br /><br/>
 1、必须按照以下格式进行填写：<br/><br/>
    <img src="__IMGURL__/excel-example.png" /><br/><br/>
 2、请保证你的数据填写正确。<br/><br/>
</blockquote>

<form style="margin:20px auto;width:90%" method="post" enctype="multipart/form-data" onsubmit="return false;">
    <input type="file" name="up_file" id="file_upload"/><br /><br />
    <input type="hidden" name="send" value="sub" />
    <input type="submit" value="确　定" class="btn btn-primary" onclick="check({'status':'success', 'info':'添加工人信息成功!', 'url':'__URL__/'})"/>
    <span class="btn btn-warning" onclick="history.back(-1);">返　回</span>
</form>

<include file="Public:check"/>

</body>
</html>